package com.healthcloud.service;



import com.healthcloud.entity.*;
import com.healthcloud.utils.PageParam;

import java.util.List;

public interface ChronicService {
	List<SignPatientBean> searchPatient(PatientBean entity, String pageindex, String pagesize);
	int countPatient(PatientBean entity);
	List<TestResultExpBean> searchResultExp(TestResultExpBean entity);
	List<DueFollowUpPlanBean> searchDueFollowUpPlan(DueFollowUpPlanBean entity);
	List<ChronicTestResultBean> searchTestResult(ChronicTestResultBean entity);
	List<ChronicTestResultBean> searchBpList(ChronicTestResultBean entity, PageParam pageParam);
	List<ChronicTestResultBean> searchBsList(ChronicTestResultBean entity, PageParam pageParam);
	List<SmartDataBean> searchSmartList(SmartDataBean entity, String pageindex, String pagesize);
	int countSmartList(SmartDataBean entity);
	List<PatientBean> selectPatient(PatientBean entity, String pageindex, String pagesize);
	List<CommonTestResultBean> getAllBpData(List<String> sns, CommonTestResultBean entity, String pageindex, String pagesize);
	List<CommonTestResultBean> getAllBsData(List<String> sns, CommonTestResultBean entity, String pageindex, String pagesize);
	void saveBlood(BloodManager bloodManager);
	void updateBlood(BloodManager bloodManager);
	List<BloodManager> queryBloodByPId(int pId, String type);
	BloodManager getById(int id);
	int count(int pId);
	int countBpList(ChronicTestResultBean bean);
	int countBsList(ChronicTestResultBean bean);

}
